package com.jinlia.show.modules.base.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinlia.show.modules.base.config.DynamicSchemaConfig;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 角色和菜单关联表
 */
@Data
@TableName(value = "sys_role_menu",schema = DynamicSchemaConfig.schema_system)
public class SysRoleMenu  {
    @TableId()
    private Long id;
    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 菜单ID
     */
    private Long menuId;
}
